package com.krt.webapp.until;

/**
 * @Title: com.krt.webapp.until
 * @Description: <请描述此文件是做什么的>
 * @author: 廖轩
 * @data: 2016 2016/6/12 9:30
 * @version: V1.0
 */
public class AppInfo {

    private String sp_name;
    private String path;//储存地址
    private String main_url;//首页地址
    private String up_url;//更新地址
    private int upmode = 2;//更新模式（1：xml  2：json）
    private String main_action;
    private boolean hasyd = true;//是否启用引导页

    public AppInfo(){

    }

    public AppInfo(String sp_name,String path,String main_url,String up_url,int upmode,
                   String main_action,boolean hasyd){
        this.sp_name = sp_name;
        this.path = path;
        this.main_action = main_action;
        this.main_url = main_url;
        this.up_url = up_url;
        this.upmode = upmode;
        this.hasyd = hasyd;
    }

    public String getSp_name() {
        return sp_name;
    }

    public void setSp_name(String sp_name) {
        this.sp_name = sp_name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMain_url() {
        return main_url;
    }

    public void setMain_url(String main_url) {
        this.main_url = main_url;
    }

    public String getUp_url() {
        return up_url;
    }

    public void setUp_url(String up_url) {
        this.up_url = up_url;
    }

    public int getUpmode() {
        return upmode;
    }

    public void setUpmode(int upmode) {
        this.upmode = upmode;
    }

    public String getMain_action() {
        return main_action;
    }

    public void setMain_action(String main_action) {
        this.main_action = main_action;
    }

    public boolean getHasyd() {
        return hasyd;
    }

    public void setHasyd(boolean hasyd) {
        this.hasyd = hasyd;
    }
}
